/*
 * ServiceAddress.h
 *
 *  Created on: Nov 18, 2008
 *      Author: nathan
 */

#ifndef SERVICEADDRESS_H_
#define SERVICEADDRESS_H_

#include <QtCore>
#include <QtNetwork>

struct ServiceAddress : private QPair<QString, quint16>
{
public:
	ServiceAddress(QString host, quint16 port) :
		QPair<QString, quint16>(host, port)
	{
	}

public:
	QString getHost()
	{
		return first;
	}

	quint16 getPort()
	{
		return second;
	}
};

#endif /* SERVICEADDRESS_H_ */
